package cn.com.beans;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class CollegeInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CollegeInfoExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCoIdIsNull() {
            addCriterion("CO_ID is null");
            return (Criteria) this;
        }

        public Criteria andCoIdIsNotNull() {
            addCriterion("CO_ID is not null");
            return (Criteria) this;
        }

        public Criteria andCoIdEqualTo(Integer value) {
            addCriterion("CO_ID =", value, "coId");
            return (Criteria) this;
        }

        public Criteria andCoIdNotEqualTo(Integer value) {
            addCriterion("CO_ID <>", value, "coId");
            return (Criteria) this;
        }

        public Criteria andCoIdGreaterThan(Integer value) {
            addCriterion("CO_ID >", value, "coId");
            return (Criteria) this;
        }

        public Criteria andCoIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("CO_ID >=", value, "coId");
            return (Criteria) this;
        }

        public Criteria andCoIdLessThan(Integer value) {
            addCriterion("CO_ID <", value, "coId");
            return (Criteria) this;
        }

        public Criteria andCoIdLessThanOrEqualTo(Integer value) {
            addCriterion("CO_ID <=", value, "coId");
            return (Criteria) this;
        }

        public Criteria andCoIdIn(List<Integer> values) {
            addCriterion("CO_ID in", values, "coId");
            return (Criteria) this;
        }

        public Criteria andCoIdNotIn(List<Integer> values) {
            addCriterion("CO_ID not in", values, "coId");
            return (Criteria) this;
        }

        public Criteria andCoIdBetween(Integer value1, Integer value2) {
            addCriterion("CO_ID between", value1, value2, "coId");
            return (Criteria) this;
        }

        public Criteria andCoIdNotBetween(Integer value1, Integer value2) {
            addCriterion("CO_ID not between", value1, value2, "coId");
            return (Criteria) this;
        }

        public Criteria andCoIidIsNull() {
            addCriterion("CO_IID is null");
            return (Criteria) this;
        }

        public Criteria andCoIidIsNotNull() {
            addCriterion("CO_IID is not null");
            return (Criteria) this;
        }

        public Criteria andCoIidEqualTo(String value) {
            addCriterion("CO_IID =", value, "coIid");
            return (Criteria) this;
        }

        public Criteria andCoIidNotEqualTo(String value) {
            addCriterion("CO_IID <>", value, "coIid");
            return (Criteria) this;
        }

        public Criteria andCoIidGreaterThan(String value) {
            addCriterion("CO_IID >", value, "coIid");
            return (Criteria) this;
        }

        public Criteria andCoIidGreaterThanOrEqualTo(String value) {
            addCriterion("CO_IID >=", value, "coIid");
            return (Criteria) this;
        }

        public Criteria andCoIidLessThan(String value) {
            addCriterion("CO_IID <", value, "coIid");
            return (Criteria) this;
        }

        public Criteria andCoIidLessThanOrEqualTo(String value) {
            addCriterion("CO_IID <=", value, "coIid");
            return (Criteria) this;
        }

        public Criteria andCoIidLike(String value) {
            addCriterion("CO_IID like", value, "coIid");
            return (Criteria) this;
        }

        public Criteria andCoIidNotLike(String value) {
            addCriterion("CO_IID not like", value, "coIid");
            return (Criteria) this;
        }

        public Criteria andCoIidIn(List<String> values) {
            addCriterion("CO_IID in", values, "coIid");
            return (Criteria) this;
        }

        public Criteria andCoIidNotIn(List<String> values) {
            addCriterion("CO_IID not in", values, "coIid");
            return (Criteria) this;
        }

        public Criteria andCoIidBetween(String value1, String value2) {
            addCriterion("CO_IID between", value1, value2, "coIid");
            return (Criteria) this;
        }

        public Criteria andCoIidNotBetween(String value1, String value2) {
            addCriterion("CO_IID not between", value1, value2, "coIid");
            return (Criteria) this;
        }

        public Criteria andCoNameIsNull() {
            addCriterion("CO_NAME is null");
            return (Criteria) this;
        }

        public Criteria andCoNameIsNotNull() {
            addCriterion("CO_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andCoNameEqualTo(String value) {
            addCriterion("CO_NAME =", value, "coName");
            return (Criteria) this;
        }

        public Criteria andCoNameNotEqualTo(String value) {
            addCriterion("CO_NAME <>", value, "coName");
            return (Criteria) this;
        }

        public Criteria andCoNameGreaterThan(String value) {
            addCriterion("CO_NAME >", value, "coName");
            return (Criteria) this;
        }

        public Criteria andCoNameGreaterThanOrEqualTo(String value) {
            addCriterion("CO_NAME >=", value, "coName");
            return (Criteria) this;
        }

        public Criteria andCoNameLessThan(String value) {
            addCriterion("CO_NAME <", value, "coName");
            return (Criteria) this;
        }

        public Criteria andCoNameLessThanOrEqualTo(String value) {
            addCriterion("CO_NAME <=", value, "coName");
            return (Criteria) this;
        }

        public Criteria andCoNameLike(String value) {
            addCriterion("CO_NAME like", value, "coName");
            return (Criteria) this;
        }

        public Criteria andCoNameNotLike(String value) {
            addCriterion("CO_NAME not like", value, "coName");
            return (Criteria) this;
        }

        public Criteria andCoNameIn(List<String> values) {
            addCriterion("CO_NAME in", values, "coName");
            return (Criteria) this;
        }

        public Criteria andCoNameNotIn(List<String> values) {
            addCriterion("CO_NAME not in", values, "coName");
            return (Criteria) this;
        }

        public Criteria andCoNameBetween(String value1, String value2) {
            addCriterion("CO_NAME between", value1, value2, "coName");
            return (Criteria) this;
        }

        public Criteria andCoNameNotBetween(String value1, String value2) {
            addCriterion("CO_NAME not between", value1, value2, "coName");
            return (Criteria) this;
        }

        public Criteria andCoIntroductionIsNull() {
            addCriterion("CO_INTRODUCTION is null");
            return (Criteria) this;
        }

        public Criteria andCoIntroductionIsNotNull() {
            addCriterion("CO_INTRODUCTION is not null");
            return (Criteria) this;
        }

        public Criteria andCoIntroductionEqualTo(String value) {
            addCriterion("CO_INTRODUCTION =", value, "coIntroduction");
            return (Criteria) this;
        }

        public Criteria andCoIntroductionNotEqualTo(String value) {
            addCriterion("CO_INTRODUCTION <>", value, "coIntroduction");
            return (Criteria) this;
        }

        public Criteria andCoIntroductionGreaterThan(String value) {
            addCriterion("CO_INTRODUCTION >", value, "coIntroduction");
            return (Criteria) this;
        }

        public Criteria andCoIntroductionGreaterThanOrEqualTo(String value) {
            addCriterion("CO_INTRODUCTION >=", value, "coIntroduction");
            return (Criteria) this;
        }

        public Criteria andCoIntroductionLessThan(String value) {
            addCriterion("CO_INTRODUCTION <", value, "coIntroduction");
            return (Criteria) this;
        }

        public Criteria andCoIntroductionLessThanOrEqualTo(String value) {
            addCriterion("CO_INTRODUCTION <=", value, "coIntroduction");
            return (Criteria) this;
        }

        public Criteria andCoIntroductionLike(String value) {
            addCriterion("CO_INTRODUCTION like", value, "coIntroduction");
            return (Criteria) this;
        }

        public Criteria andCoIntroductionNotLike(String value) {
            addCriterion("CO_INTRODUCTION not like", value, "coIntroduction");
            return (Criteria) this;
        }

        public Criteria andCoIntroductionIn(List<String> values) {
            addCriterion("CO_INTRODUCTION in", values, "coIntroduction");
            return (Criteria) this;
        }

        public Criteria andCoIntroductionNotIn(List<String> values) {
            addCriterion("CO_INTRODUCTION not in", values, "coIntroduction");
            return (Criteria) this;
        }

        public Criteria andCoIntroductionBetween(String value1, String value2) {
            addCriterion("CO_INTRODUCTION between", value1, value2, "coIntroduction");
            return (Criteria) this;
        }

        public Criteria andCoIntroductionNotBetween(String value1, String value2) {
            addCriterion("CO_INTRODUCTION not between", value1, value2, "coIntroduction");
            return (Criteria) this;
        }

        public Criteria andCoCityIsNull() {
            addCriterion("CO_CITY is null");
            return (Criteria) this;
        }

        public Criteria andCoCityIsNotNull() {
            addCriterion("CO_CITY is not null");
            return (Criteria) this;
        }

        public Criteria andCoCityEqualTo(String value) {
            addCriterion("CO_CITY =", value, "coCity");
            return (Criteria) this;
        }

        public Criteria andCoCityNotEqualTo(String value) {
            addCriterion("CO_CITY <>", value, "coCity");
            return (Criteria) this;
        }

        public Criteria andCoCityGreaterThan(String value) {
            addCriterion("CO_CITY >", value, "coCity");
            return (Criteria) this;
        }

        public Criteria andCoCityGreaterThanOrEqualTo(String value) {
            addCriterion("CO_CITY >=", value, "coCity");
            return (Criteria) this;
        }

        public Criteria andCoCityLessThan(String value) {
            addCriterion("CO_CITY <", value, "coCity");
            return (Criteria) this;
        }

        public Criteria andCoCityLessThanOrEqualTo(String value) {
            addCriterion("CO_CITY <=", value, "coCity");
            return (Criteria) this;
        }

        public Criteria andCoCityLike(String value) {
            addCriterion("CO_CITY like", value, "coCity");
            return (Criteria) this;
        }

        public Criteria andCoCityNotLike(String value) {
            addCriterion("CO_CITY not like", value, "coCity");
            return (Criteria) this;
        }

        public Criteria andCoCityIn(List<String> values) {
            addCriterion("CO_CITY in", values, "coCity");
            return (Criteria) this;
        }

        public Criteria andCoCityNotIn(List<String> values) {
            addCriterion("CO_CITY not in", values, "coCity");
            return (Criteria) this;
        }

        public Criteria andCoCityBetween(String value1, String value2) {
            addCriterion("CO_CITY between", value1, value2, "coCity");
            return (Criteria) this;
        }

        public Criteria andCoCityNotBetween(String value1, String value2) {
            addCriterion("CO_CITY not between", value1, value2, "coCity");
            return (Criteria) this;
        }

        public Criteria andCoCategoryIsNull() {
            addCriterion("CO_CATEGORY is null");
            return (Criteria) this;
        }

        public Criteria andCoCategoryIsNotNull() {
            addCriterion("CO_CATEGORY is not null");
            return (Criteria) this;
        }

        public Criteria andCoCategoryEqualTo(String value) {
            addCriterion("CO_CATEGORY =", value, "coCategory");
            return (Criteria) this;
        }

        public Criteria andCoCategoryNotEqualTo(String value) {
            addCriterion("CO_CATEGORY <>", value, "coCategory");
            return (Criteria) this;
        }

        public Criteria andCoCategoryGreaterThan(String value) {
            addCriterion("CO_CATEGORY >", value, "coCategory");
            return (Criteria) this;
        }

        public Criteria andCoCategoryGreaterThanOrEqualTo(String value) {
            addCriterion("CO_CATEGORY >=", value, "coCategory");
            return (Criteria) this;
        }

        public Criteria andCoCategoryLessThan(String value) {
            addCriterion("CO_CATEGORY <", value, "coCategory");
            return (Criteria) this;
        }

        public Criteria andCoCategoryLessThanOrEqualTo(String value) {
            addCriterion("CO_CATEGORY <=", value, "coCategory");
            return (Criteria) this;
        }

        public Criteria andCoCategoryLike(String value) {
            addCriterion("CO_CATEGORY like", value, "coCategory");
            return (Criteria) this;
        }

        public Criteria andCoCategoryNotLike(String value) {
            addCriterion("CO_CATEGORY not like", value, "coCategory");
            return (Criteria) this;
        }

        public Criteria andCoCategoryIn(List<String> values) {
            addCriterion("CO_CATEGORY in", values, "coCategory");
            return (Criteria) this;
        }

        public Criteria andCoCategoryNotIn(List<String> values) {
            addCriterion("CO_CATEGORY not in", values, "coCategory");
            return (Criteria) this;
        }

        public Criteria andCoCategoryBetween(String value1, String value2) {
            addCriterion("CO_CATEGORY between", value1, value2, "coCategory");
            return (Criteria) this;
        }

        public Criteria andCoCategoryNotBetween(String value1, String value2) {
            addCriterion("CO_CATEGORY not between", value1, value2, "coCategory");
            return (Criteria) this;
        }

        public Criteria andCoLevelIsNull() {
            addCriterion("CO_LEVEL is null");
            return (Criteria) this;
        }

        public Criteria andCoLevelIsNotNull() {
            addCriterion("CO_LEVEL is not null");
            return (Criteria) this;
        }

        public Criteria andCoLevelEqualTo(String value) {
            addCriterion("CO_LEVEL =", value, "coLevel");
            return (Criteria) this;
        }

        public Criteria andCoLevelNotEqualTo(String value) {
            addCriterion("CO_LEVEL <>", value, "coLevel");
            return (Criteria) this;
        }

        public Criteria andCoLevelGreaterThan(String value) {
            addCriterion("CO_LEVEL >", value, "coLevel");
            return (Criteria) this;
        }

        public Criteria andCoLevelGreaterThanOrEqualTo(String value) {
            addCriterion("CO_LEVEL >=", value, "coLevel");
            return (Criteria) this;
        }

        public Criteria andCoLevelLessThan(String value) {
            addCriterion("CO_LEVEL <", value, "coLevel");
            return (Criteria) this;
        }

        public Criteria andCoLevelLessThanOrEqualTo(String value) {
            addCriterion("CO_LEVEL <=", value, "coLevel");
            return (Criteria) this;
        }

        public Criteria andCoLevelLike(String value) {
            addCriterion("CO_LEVEL like", value, "coLevel");
            return (Criteria) this;
        }

        public Criteria andCoLevelNotLike(String value) {
            addCriterion("CO_LEVEL not like", value, "coLevel");
            return (Criteria) this;
        }

        public Criteria andCoLevelIn(List<String> values) {
            addCriterion("CO_LEVEL in", values, "coLevel");
            return (Criteria) this;
        }

        public Criteria andCoLevelNotIn(List<String> values) {
            addCriterion("CO_LEVEL not in", values, "coLevel");
            return (Criteria) this;
        }

        public Criteria andCoLevelBetween(String value1, String value2) {
            addCriterion("CO_LEVEL between", value1, value2, "coLevel");
            return (Criteria) this;
        }

        public Criteria andCoLevelNotBetween(String value1, String value2) {
            addCriterion("CO_LEVEL not between", value1, value2, "coLevel");
            return (Criteria) this;
        }

        public Criteria andCoFeaturesIsNull() {
            addCriterion("CO_FEATURES is null");
            return (Criteria) this;
        }

        public Criteria andCoFeaturesIsNotNull() {
            addCriterion("CO_FEATURES is not null");
            return (Criteria) this;
        }

        public Criteria andCoFeaturesEqualTo(String value) {
            addCriterion("CO_FEATURES =", value, "coFeatures");
            return (Criteria) this;
        }

        public Criteria andCoFeaturesNotEqualTo(String value) {
            addCriterion("CO_FEATURES <>", value, "coFeatures");
            return (Criteria) this;
        }

        public Criteria andCoFeaturesGreaterThan(String value) {
            addCriterion("CO_FEATURES >", value, "coFeatures");
            return (Criteria) this;
        }

        public Criteria andCoFeaturesGreaterThanOrEqualTo(String value) {
            addCriterion("CO_FEATURES >=", value, "coFeatures");
            return (Criteria) this;
        }

        public Criteria andCoFeaturesLessThan(String value) {
            addCriterion("CO_FEATURES <", value, "coFeatures");
            return (Criteria) this;
        }

        public Criteria andCoFeaturesLessThanOrEqualTo(String value) {
            addCriterion("CO_FEATURES <=", value, "coFeatures");
            return (Criteria) this;
        }

        public Criteria andCoFeaturesLike(String value) {
            addCriterion("CO_FEATURES like", value, "coFeatures");
            return (Criteria) this;
        }

        public Criteria andCoFeaturesNotLike(String value) {
            addCriterion("CO_FEATURES not like", value, "coFeatures");
            return (Criteria) this;
        }

        public Criteria andCoFeaturesIn(List<String> values) {
            addCriterion("CO_FEATURES in", values, "coFeatures");
            return (Criteria) this;
        }

        public Criteria andCoFeaturesNotIn(List<String> values) {
            addCriterion("CO_FEATURES not in", values, "coFeatures");
            return (Criteria) this;
        }

        public Criteria andCoFeaturesBetween(String value1, String value2) {
            addCriterion("CO_FEATURES between", value1, value2, "coFeatures");
            return (Criteria) this;
        }

        public Criteria andCoFeaturesNotBetween(String value1, String value2) {
            addCriterion("CO_FEATURES not between", value1, value2, "coFeatures");
            return (Criteria) this;
        }

        public Criteria andCoTypeIsNull() {
            addCriterion("CO_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andCoTypeIsNotNull() {
            addCriterion("CO_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andCoTypeEqualTo(String value) {
            addCriterion("CO_TYPE =", value, "coType");
            return (Criteria) this;
        }

        public Criteria andCoTypeNotEqualTo(String value) {
            addCriterion("CO_TYPE <>", value, "coType");
            return (Criteria) this;
        }

        public Criteria andCoTypeGreaterThan(String value) {
            addCriterion("CO_TYPE >", value, "coType");
            return (Criteria) this;
        }

        public Criteria andCoTypeGreaterThanOrEqualTo(String value) {
            addCriterion("CO_TYPE >=", value, "coType");
            return (Criteria) this;
        }

        public Criteria andCoTypeLessThan(String value) {
            addCriterion("CO_TYPE <", value, "coType");
            return (Criteria) this;
        }

        public Criteria andCoTypeLessThanOrEqualTo(String value) {
            addCriterion("CO_TYPE <=", value, "coType");
            return (Criteria) this;
        }

        public Criteria andCoTypeLike(String value) {
            addCriterion("CO_TYPE like", value, "coType");
            return (Criteria) this;
        }

        public Criteria andCoTypeNotLike(String value) {
            addCriterion("CO_TYPE not like", value, "coType");
            return (Criteria) this;
        }

        public Criteria andCoTypeIn(List<String> values) {
            addCriterion("CO_TYPE in", values, "coType");
            return (Criteria) this;
        }

        public Criteria andCoTypeNotIn(List<String> values) {
            addCriterion("CO_TYPE not in", values, "coType");
            return (Criteria) this;
        }

        public Criteria andCoTypeBetween(String value1, String value2) {
            addCriterion("CO_TYPE between", value1, value2, "coType");
            return (Criteria) this;
        }

        public Criteria andCoTypeNotBetween(String value1, String value2) {
            addCriterion("CO_TYPE not between", value1, value2, "coType");
            return (Criteria) this;
        }

        public Criteria andCoWebsiteIsNull() {
            addCriterion("CO_WEBSITE is null");
            return (Criteria) this;
        }

        public Criteria andCoWebsiteIsNotNull() {
            addCriterion("CO_WEBSITE is not null");
            return (Criteria) this;
        }

        public Criteria andCoWebsiteEqualTo(String value) {
            addCriterion("CO_WEBSITE =", value, "coWebsite");
            return (Criteria) this;
        }

        public Criteria andCoWebsiteNotEqualTo(String value) {
            addCriterion("CO_WEBSITE <>", value, "coWebsite");
            return (Criteria) this;
        }

        public Criteria andCoWebsiteGreaterThan(String value) {
            addCriterion("CO_WEBSITE >", value, "coWebsite");
            return (Criteria) this;
        }

        public Criteria andCoWebsiteGreaterThanOrEqualTo(String value) {
            addCriterion("CO_WEBSITE >=", value, "coWebsite");
            return (Criteria) this;
        }

        public Criteria andCoWebsiteLessThan(String value) {
            addCriterion("CO_WEBSITE <", value, "coWebsite");
            return (Criteria) this;
        }

        public Criteria andCoWebsiteLessThanOrEqualTo(String value) {
            addCriterion("CO_WEBSITE <=", value, "coWebsite");
            return (Criteria) this;
        }

        public Criteria andCoWebsiteLike(String value) {
            addCriterion("CO_WEBSITE like", value, "coWebsite");
            return (Criteria) this;
        }

        public Criteria andCoWebsiteNotLike(String value) {
            addCriterion("CO_WEBSITE not like", value, "coWebsite");
            return (Criteria) this;
        }

        public Criteria andCoWebsiteIn(List<String> values) {
            addCriterion("CO_WEBSITE in", values, "coWebsite");
            return (Criteria) this;
        }

        public Criteria andCoWebsiteNotIn(List<String> values) {
            addCriterion("CO_WEBSITE not in", values, "coWebsite");
            return (Criteria) this;
        }

        public Criteria andCoWebsiteBetween(String value1, String value2) {
            addCriterion("CO_WEBSITE between", value1, value2, "coWebsite");
            return (Criteria) this;
        }

        public Criteria andCoWebsiteNotBetween(String value1, String value2) {
            addCriterion("CO_WEBSITE not between", value1, value2, "coWebsite");
            return (Criteria) this;
        }

        public Criteria andCoBatchIsNull() {
            addCriterion("CO_BATCH is null");
            return (Criteria) this;
        }

        public Criteria andCoBatchIsNotNull() {
            addCriterion("CO_BATCH is not null");
            return (Criteria) this;
        }

        public Criteria andCoBatchEqualTo(String value) {
            addCriterion("CO_BATCH =", value, "coBatch");
            return (Criteria) this;
        }

        public Criteria andCoBatchNotEqualTo(String value) {
            addCriterion("CO_BATCH <>", value, "coBatch");
            return (Criteria) this;
        }

        public Criteria andCoBatchGreaterThan(String value) {
            addCriterion("CO_BATCH >", value, "coBatch");
            return (Criteria) this;
        }

        public Criteria andCoBatchGreaterThanOrEqualTo(String value) {
            addCriterion("CO_BATCH >=", value, "coBatch");
            return (Criteria) this;
        }

        public Criteria andCoBatchLessThan(String value) {
            addCriterion("CO_BATCH <", value, "coBatch");
            return (Criteria) this;
        }

        public Criteria andCoBatchLessThanOrEqualTo(String value) {
            addCriterion("CO_BATCH <=", value, "coBatch");
            return (Criteria) this;
        }

        public Criteria andCoBatchLike(String value) {
            addCriterion("CO_BATCH like", value, "coBatch");
            return (Criteria) this;
        }

        public Criteria andCoBatchNotLike(String value) {
            addCriterion("CO_BATCH not like", value, "coBatch");
            return (Criteria) this;
        }

        public Criteria andCoBatchIn(List<String> values) {
            addCriterion("CO_BATCH in", values, "coBatch");
            return (Criteria) this;
        }

        public Criteria andCoBatchNotIn(List<String> values) {
            addCriterion("CO_BATCH not in", values, "coBatch");
            return (Criteria) this;
        }

        public Criteria andCoBatchBetween(String value1, String value2) {
            addCriterion("CO_BATCH between", value1, value2, "coBatch");
            return (Criteria) this;
        }

        public Criteria andCoBatchNotBetween(String value1, String value2) {
            addCriterion("CO_BATCH not between", value1, value2, "coBatch");
            return (Criteria) this;
        }

        public Criteria andCoRankingIsNull() {
            addCriterion("CO_RANKING is null");
            return (Criteria) this;
        }

        public Criteria andCoRankingIsNotNull() {
            addCriterion("CO_RANKING is not null");
            return (Criteria) this;
        }

        public Criteria andCoRankingEqualTo(BigDecimal value) {
            addCriterion("CO_RANKING =", value, "coRanking");
            return (Criteria) this;
        }

        public Criteria andCoRankingNotEqualTo(BigDecimal value) {
            addCriterion("CO_RANKING <>", value, "coRanking");
            return (Criteria) this;
        }

        public Criteria andCoRankingGreaterThan(BigDecimal value) {
            addCriterion("CO_RANKING >", value, "coRanking");
            return (Criteria) this;
        }

        public Criteria andCoRankingGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("CO_RANKING >=", value, "coRanking");
            return (Criteria) this;
        }

        public Criteria andCoRankingLessThan(BigDecimal value) {
            addCriterion("CO_RANKING <", value, "coRanking");
            return (Criteria) this;
        }

        public Criteria andCoRankingLessThanOrEqualTo(BigDecimal value) {
            addCriterion("CO_RANKING <=", value, "coRanking");
            return (Criteria) this;
        }

        public Criteria andCoRankingIn(List<BigDecimal> values) {
            addCriterion("CO_RANKING in", values, "coRanking");
            return (Criteria) this;
        }

        public Criteria andCoRankingNotIn(List<BigDecimal> values) {
            addCriterion("CO_RANKING not in", values, "coRanking");
            return (Criteria) this;
        }

        public Criteria andCoRankingBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("CO_RANKING between", value1, value2, "coRanking");
            return (Criteria) this;
        }

        public Criteria andCoRankingNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("CO_RANKING not between", value1, value2, "coRanking");
            return (Criteria) this;
        }

        public Criteria andCoDoctorIsNull() {
            addCriterion("CO_DOCTOR is null");
            return (Criteria) this;
        }

        public Criteria andCoDoctorIsNotNull() {
            addCriterion("CO_DOCTOR is not null");
            return (Criteria) this;
        }

        public Criteria andCoDoctorEqualTo(Integer value) {
            addCriterion("CO_DOCTOR =", value, "coDoctor");
            return (Criteria) this;
        }

        public Criteria andCoDoctorNotEqualTo(Integer value) {
            addCriterion("CO_DOCTOR <>", value, "coDoctor");
            return (Criteria) this;
        }

        public Criteria andCoDoctorGreaterThan(Integer value) {
            addCriterion("CO_DOCTOR >", value, "coDoctor");
            return (Criteria) this;
        }

        public Criteria andCoDoctorGreaterThanOrEqualTo(Integer value) {
            addCriterion("CO_DOCTOR >=", value, "coDoctor");
            return (Criteria) this;
        }

        public Criteria andCoDoctorLessThan(Integer value) {
            addCriterion("CO_DOCTOR <", value, "coDoctor");
            return (Criteria) this;
        }

        public Criteria andCoDoctorLessThanOrEqualTo(Integer value) {
            addCriterion("CO_DOCTOR <=", value, "coDoctor");
            return (Criteria) this;
        }

        public Criteria andCoDoctorIn(List<Integer> values) {
            addCriterion("CO_DOCTOR in", values, "coDoctor");
            return (Criteria) this;
        }

        public Criteria andCoDoctorNotIn(List<Integer> values) {
            addCriterion("CO_DOCTOR not in", values, "coDoctor");
            return (Criteria) this;
        }

        public Criteria andCoDoctorBetween(Integer value1, Integer value2) {
            addCriterion("CO_DOCTOR between", value1, value2, "coDoctor");
            return (Criteria) this;
        }

        public Criteria andCoDoctorNotBetween(Integer value1, Integer value2) {
            addCriterion("CO_DOCTOR not between", value1, value2, "coDoctor");
            return (Criteria) this;
        }

        public Criteria andCoMasterIsNull() {
            addCriterion("CO_MASTER is null");
            return (Criteria) this;
        }

        public Criteria andCoMasterIsNotNull() {
            addCriterion("CO_MASTER is not null");
            return (Criteria) this;
        }

        public Criteria andCoMasterEqualTo(Integer value) {
            addCriterion("CO_MASTER =", value, "coMaster");
            return (Criteria) this;
        }

        public Criteria andCoMasterNotEqualTo(Integer value) {
            addCriterion("CO_MASTER <>", value, "coMaster");
            return (Criteria) this;
        }

        public Criteria andCoMasterGreaterThan(Integer value) {
            addCriterion("CO_MASTER >", value, "coMaster");
            return (Criteria) this;
        }

        public Criteria andCoMasterGreaterThanOrEqualTo(Integer value) {
            addCriterion("CO_MASTER >=", value, "coMaster");
            return (Criteria) this;
        }

        public Criteria andCoMasterLessThan(Integer value) {
            addCriterion("CO_MASTER <", value, "coMaster");
            return (Criteria) this;
        }

        public Criteria andCoMasterLessThanOrEqualTo(Integer value) {
            addCriterion("CO_MASTER <=", value, "coMaster");
            return (Criteria) this;
        }

        public Criteria andCoMasterIn(List<Integer> values) {
            addCriterion("CO_MASTER in", values, "coMaster");
            return (Criteria) this;
        }

        public Criteria andCoMasterNotIn(List<Integer> values) {
            addCriterion("CO_MASTER not in", values, "coMaster");
            return (Criteria) this;
        }

        public Criteria andCoMasterBetween(Integer value1, Integer value2) {
            addCriterion("CO_MASTER between", value1, value2, "coMaster");
            return (Criteria) this;
        }

        public Criteria andCoMasterNotBetween(Integer value1, Integer value2) {
            addCriterion("CO_MASTER not between", value1, value2, "coMaster");
            return (Criteria) this;
        }

        public Criteria andCoPridIsNull() {
            addCriterion("CO_PRID is null");
            return (Criteria) this;
        }

        public Criteria andCoPridIsNotNull() {
            addCriterion("CO_PRID is not null");
            return (Criteria) this;
        }

        public Criteria andCoPridEqualTo(String value) {
            addCriterion("CO_PRID =", value, "coPrid");
            return (Criteria) this;
        }

        public Criteria andCoPridNotEqualTo(String value) {
            addCriterion("CO_PRID <>", value, "coPrid");
            return (Criteria) this;
        }

        public Criteria andCoPridGreaterThan(String value) {
            addCriterion("CO_PRID >", value, "coPrid");
            return (Criteria) this;
        }

        public Criteria andCoPridGreaterThanOrEqualTo(String value) {
            addCriterion("CO_PRID >=", value, "coPrid");
            return (Criteria) this;
        }

        public Criteria andCoPridLessThan(String value) {
            addCriterion("CO_PRID <", value, "coPrid");
            return (Criteria) this;
        }

        public Criteria andCoPridLessThanOrEqualTo(String value) {
            addCriterion("CO_PRID <=", value, "coPrid");
            return (Criteria) this;
        }

        public Criteria andCoPridLike(String value) {
            addCriterion("CO_PRID like", value, "coPrid");
            return (Criteria) this;
        }

        public Criteria andCoPridNotLike(String value) {
            addCriterion("CO_PRID not like", value, "coPrid");
            return (Criteria) this;
        }

        public Criteria andCoPridIn(List<String> values) {
            addCriterion("CO_PRID in", values, "coPrid");
            return (Criteria) this;
        }

        public Criteria andCoPridNotIn(List<String> values) {
            addCriterion("CO_PRID not in", values, "coPrid");
            return (Criteria) this;
        }

        public Criteria andCoPridBetween(String value1, String value2) {
            addCriterion("CO_PRID between", value1, value2, "coPrid");
            return (Criteria) this;
        }

        public Criteria andCoPridNotBetween(String value1, String value2) {
            addCriterion("CO_PRID not between", value1, value2, "coPrid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}